package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 配置类别对象 rule
 * 
 * @author ruoyi
 * @date 2025-02-19
 */
public class Rule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ruleId;

    /** 图片 */
    @Excel(name = "图片")
    private String ruleImage;

    /** 规则级别 */
    @Excel(name = "规则级别")
    private Long ruleRules;

    /** 浇水次数 */
    @Excel(name = "浇水次数")
    private Long ruleWaters;

    /** 是否爆率触发 */
    @Excel(name = "是否爆率触发")
    private String ruleTrigger;

    /** 暴击几率 */
    @Excel(name = "暴击几率")
    private String ruleChance;

    /** 暴击倍率最高 */
    @Excel(name = "暴击倍率最高")
    private String ruleRatio;

    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }
    public void setRuleImage(String ruleImage) 
    {
        this.ruleImage = ruleImage;
    }

    public String getRuleImage() 
    {
        return ruleImage;
    }
    public void setRuleRules(Long ruleRules) 
    {
        this.ruleRules = ruleRules;
    }

    public Long getRuleRules() 
    {
        return ruleRules;
    }
    public void setRuleWaters(Long ruleWaters) 
    {
        this.ruleWaters = ruleWaters;
    }

    public Long getRuleWaters() 
    {
        return ruleWaters;
    }
    public void setRuleTrigger(String ruleTrigger) 
    {
        this.ruleTrigger = ruleTrigger;
    }

    public String getRuleTrigger() 
    {
        return ruleTrigger;
    }
    public void setRuleChance(String ruleChance) 
    {
        this.ruleChance = ruleChance;
    }

    public String getRuleChance() 
    {
        return ruleChance;
    }
    public void setRuleRatio(String ruleRatio) 
    {
        this.ruleRatio = ruleRatio;
    }

    public String getRuleRatio() 
    {
        return ruleRatio;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ruleId", getRuleId())
            .append("ruleImage", getRuleImage())
            .append("ruleRules", getRuleRules())
            .append("ruleWaters", getRuleWaters())
            .append("ruleTrigger", getRuleTrigger())
            .append("ruleChance", getRuleChance())
            .append("ruleRatio", getRuleRatio())
            .toString();
    }
}
